package com.core.bean;

/**
 * 用户地址
 */
public class UserAddress {
    /**
     * 编号
     */
    private String id;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 地址详情
     */
    private String addressDetail;
    /**
     * 联系电话
     */
    private Integer phone;
    /**
     * 接收人
     */
    private String receivingName;

    @Override
    public String toString() {
        return "UserAddress{" +
                "id='" + id + '\'' +
                ", userId='" + userId + '\'' +
                ", addressDetail='" + addressDetail + '\'' +
                ", phone=" + phone +
                ", receivingName='" + receivingName + '\'' +
                '}';
    }

    public UserAddress() {
    }

    public UserAddress(String id, String userId, String addressDetail, Integer phone, String receivingName) {
        this.id = id;
        this.userId = userId;
        this.addressDetail = addressDetail;
        this.phone = phone;
        this.receivingName = receivingName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    public Integer getPhone() {
        return phone;
    }

    public void setPhone(Integer phone) {
        this.phone = phone;
    }

    public String getReceivingName() {
        return receivingName;
    }

    public void setReceivingName(String receivingName) {
        this.receivingName = receivingName;
    }
}
